#ifndef COMMAND_H
#define COMMAND_H

#include "trans.h"
#include <myHeader.h>
#include "virDir.h"
#include "threadPool.h"
typedef enum{
    CD,
    LS,
    PWD,
    GETS,
    PUTS,
    REMOVE,
    RMDIR,
    MKDIR,
    TREE,
    ERROR
}commandType;

typedef struct train_s{
    commandType command;
    int argvSize;
    char argv[64];
}train_t;
int commandExcute(usrInfo_t *pUsrInfo,train_t *train,threadPool_t *pThreadPool);
#endif
